package cn.jji8.KnapsackToGo.ShiJian;

import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

/**
 * 玩家数据准备开始加载时调用此事件。此时已经上锁，在玩家数据开始加载之前。
 * */
public class JianZaiQin extends Event {
    Player player;
    HandlerList handlerList = new HandlerList();

    public JianZaiQin(boolean isAsync, Player player) {
        super(isAsync);
        this.player = player;
    }

    public JianZaiQin(Player player) {
        this.player = player;
    }

    @Override
    public HandlerList getHandlers() {
        return handlerList;
    }
}
